//
//  BirthdayAlertView.h
//  us
//
//  Created by karry on 2025/4/1.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface USDateAlertView : UIView

 
@property (nonatomic ,copy) void (^didChooseBlock)(NSDate *date);


/// 时间选择
/// - Parameters:
///   - date: 已选中时间
///   - subTitle: 副标题
///   - limitToNow: 是否限制未来时间不可选
- (instancetype)initWithDate:(NSDate *)date
                 andSubTitle:(NSString *)subTitle
                  limitToNow:(BOOL)limitToNow;

- (void)showInView:(UIView *)view;

@end

NS_ASSUME_NONNULL_END
